libfdt: move fdt_find_regions() to fdt_region.c from fdt_wip.c
authorMasahiro Yamada <[email protected]>
Mon, 27 Nov 2017 07:06:06 +0000 (16:06 +0900)
committerTom Rini <[email protected]>
Mon, 4 Dec 2017 14:59:02 +0000 (09:59 -0500)
commit87be1e9fb4dcc130e90d497cc5ce49c715efc6c2
tree8730f6cc5147d6d1250b026cb52912d9a0d75d7d
parent78ad457b2dbd0fe6cdc7ea42a69774a72ed007b9
libfdt: move fdt_find_regions() to fdt_region.c from fdt_wip.c

All the other fdt_*_region() functions are located in fdt_region.c,
while only fdt_find_regions() was added to fdt_wip.c, strangely.

Move it to the suitable place.

Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
lib/libfdt/fdt_region.c
lib/libfdt/fdt_wip.c